#include "mainwindow.h"

#include <QApplication>
QTcpSocket* help::m_pTcpSocket;
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    help::m_pTcpSocket=new QTcpSocket ();
    help::m_pTcpSocket->connectToHost("127.0.0.1", 8888);
    help::m_pTcpSocket->waitForConnected(10000);
    w.show();
    return a.exec();
}
